import request from "@/utils/request";

// 查询列表
export function listPost_workstation(query) {
  return request({
    url: "/manager/workstation/list",
    method: "get",
    params: query,
  });
}
// 获取工作站学生评价列表
export function workstationStuEvaluates(query) {
  return request({
    url: "/manager/workstation/workstationStuEvaluates",
    method: "get",
    params: query,
  });
}
// 查询详细
export function getPost_workstation(postId) {
  return request({
    url: "/manager/workstation/" + postId,
    method: "get",
  });
}

// 新增
export function addPost_workstation(data) {
  return request({
    url: "/manager/workstation",
    method: "post",
    data: data,
  });
}

// 修改
export function updatePost_workstation(data) {
  return request({
    url: "/manager/workstation",
    method: "put",
    data: data,
  });
}

// 删除
export function delPost_workstation(postId) {
  return request({
    url: "/manager/workstation/" + postId,
    method: "delete",
  });
}
